package com.fjb.service.product.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fjb.mapper.product.ProductCategoryMapper;
import com.fjb.pojo.product.ProductCategory;
import com.fjb.pojo.product.query.ProductCategoryQuery;
import com.fjb.pojo.product.vo.ProductCategoryVo;
import com.fjb.service.product.ProductCategoryService;

/**
 * <p>
 * 产品分类 服务实现类
 * </p>
 *
 * @author hemiao
 * @since 2019-12-22
 */
@Service
public class ProductCategoryServiceImpl extends ServiceImpl<ProductCategoryMapper, ProductCategory> implements ProductCategoryService {
	
	@Autowired
	private ProductCategoryMapper productCategoryMapper;

	@Override
	public List<ProductCategoryVo> selectList(ProductCategoryQuery categoryQuery) {
		List<ProductCategoryVo> infoList = productCategoryMapper.selectCategoryList(categoryQuery);
		return infoList;
	}
	
}
